import Vue from 'vue'
import Router from 'vue-router'
import HomeView from '@/views/HomeView/HomeView'
import SuccessView from '@/views/HomeView/SuccessView'
import HistoryView from '@/views/HomeView/HistoryView'
import HistoryListView from '@/views/HomeView/HistoryListView'
import ResendView from '@/views/HomeView/ResendView'
import PunchingRedView from '@/views/HomeView/PunchingRedView'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '',
      name: 'HomeView',
      component: HomeView
    },
    {
      path: '/HomeView',
      name: 'HomeView',
      component: HomeView
    },
    {
      path: '/SuccessView',
      name: 'SuccessView',
      component: SuccessView
    },
    {
      path: '/HistoryView',
      name: 'HistoryView',
      component: HistoryView
    },
    {
      path: '/HistoryListView',
      name: 'HistoryListView',
      component: HistoryListView
    },
    {
      path: '/ResendView',
      name: 'ResendView',
      component: ResendView
    },
    {
      path: '/PunchingRedView',
      name: 'PunchingRedView',
      component: PunchingRedView
    }
  ]
})
